package cn.lingyangwl.agile.food.core.assembly;

import cn.lingyangwl.agile.food.model.entity.ShopTableCategory;
import cn.lingyangwl.agile.food.model.rqrs.table.TableCategoryResp;
import cn.lingyangwl.agile.food.model.rqrs.table.TableCategorySaveReq;
import cn.lingyangwl.agile.food.model.rqrs.table.TableCategoryUpdateReq;
import org.mapstruct.Mapper;

/**
 * 桌台分类
 *
 * @author shenguangyang
 */
@Mapper(componentModel = "spring")
public interface TableCategoryAssembly {
  TableCategoryResp toTableCategoryResp(ShopTableCategory source);
  
  ShopTableCategory toTableCategory(TableCategorySaveReq source);
  
  ShopTableCategory toTableCategory(TableCategoryUpdateReq source);
}
